<%@ page import="edu.ads.bookloan.InventoryItem" %>



<div class="fieldcontain ${hasErrors(bean: inventoryItemInstance, field: 'book', 'error')} required">
	<label for="book">
		<g:message code="inventoryItem.book.label" default="Book" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="book" name="book.id" from="${edu.ads.bookloan.Book.list()}" optionKey="id" required="" value="${inventoryItemInstance?.book?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryItemInstance, field: 'inventoryItemStatus', 'error')} required">
	<label for="inventoryItemStatus">
		<g:message code="inventoryItem.inventoryItemStatus.label" default="Inventory Item Status" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="inventoryItemStatus" name="inventoryItemStatus.id" from="${edu.ads.bookloan.InventoryItemStatus.list()}" optionKey="id" required="" value="${inventoryItemInstance?.inventoryItemStatus?.id}" class="many-to-one"/>
</div>

